import { Post } from "@/library/utils/request"
import * as types from "@/views/shop_manager/shop_menu_price_list/types"

export const ShopMenuPriceListApiUrl = {
    Select: "/Shop/SelectDishesOfShop",
}

export const ShopMenuPriceListApi = {
    /**
     * 查询门店菜式
     */
    Select(params: types.SelectParamsType) {
        return Post<{
            Count: number,
            Dishes: types.DataType[]
        }>(ShopMenuPriceListApiUrl.Select, params)
    },
}